// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/HUD.h"
#include "Enums/Enums.h"
#include "MainHUD.generated.h"

class UOnlineUI;
class UMainUI;
class UMainReadyPlayUI;

/**
 * 
 */
UCLASS()
class SOULKNIGHT_API AMainHUD : public AHUD
{
	GENERATED_BODY()

public:
	AMainHUD();

	virtual void BeginPlay() override;
	virtual void Tick(float DeltaSeconds) override;
	virtual void DrawHUD() override;

public:
	void InitializeWidgets();

public:
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Widgets")
	TSubclassOf<UMainUI> MainUIClass;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Widgets")
	TSubclassOf<UOnlineUI> OnlineUIClass;

	UPROPERTY()
	UMainUI* MainUI;

	UPROPERTY()
	UOnlineUI* OnlineUI;
};
